﻿// DigitalDesign
// Project: InformationBoard
// Developer: Montak Oleg
// Created: 14.11.2011
// Last change: 16.11.2011
// Description: wrapper-classes for transfer to an entity on the client

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Server
{
    [DataContract]
    public class wLocation
    {
        public wLocation() { }
        public wLocation(Location location)
        {
            Id = location.Id;
            Name = location.Name;
            StationId = location.StationId;
        }

        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public int StationId { get; set; }
    }
}
